package com.ruoyi.project.channel.channelCode.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.web.domain.BaseEntity;

import java.math.BigDecimal;

/**
 * 钉钉产码表 channel_code
 * 
 * @author CAIN
 * @date 2019-06-21
 */
public class ChannelCode extends BaseEntity
{
	private static final long serialVersionUID = 1L;
	
	/**  */
	private Long ddId;
	/** 归属通道商id */
	private Long channelId;
	/** 钉钉主号id */
	private String masterId;
	/** 钉钉副号id */
	private String slaveId;
	/** 金额 */
	private BigDecimal amount;
	/** 备注信息 */
	private String mark;
	/**  */
	private String payUrl;
	/** 方法 */
	private String ddMethod;
	/** 方式 */
	private String cmd;
	/** 钉钉收款备注 */
	private String groupBillName;
	/** 钉钉转账业务id */
	private String bizId;
	/** 状态 0未使用  1已使用 2 过期*/
	private String ddStatus;
	private String account;
	public void setDdId(Long ddId) 
	{
		this.ddId = ddId;
	}

	public Long getDdId() 
	{
		return ddId;
	}
	public void setChannelId(Long channelId) 
	{
		this.channelId = channelId;
	}

	public Long getChannelId() 
	{
		return channelId;
	}
	public void setMasterId(String masterId) 
	{
		this.masterId = masterId;
	}

	public String getMasterId() 
	{
		return masterId;
	}
	public void setSlaveId(String slaveId) 
	{
		this.slaveId = slaveId;
	}

	public String getSlaveId() 
	{
		return slaveId;
	}
	public void setAmount(BigDecimal amount) 
	{
		this.amount = amount;
	}

	public BigDecimal getAmount() 
	{
		return amount;
	}
	public void setMark(String mark) 
	{
		this.mark = mark;
	}

	public String getMark() 
	{
		return mark;
	}
	public void setPayUrl(String payUrl) 
	{
		this.payUrl = payUrl;
	}

	public String getPayUrl() 
	{
		return payUrl;
	}
	public void setDdMethod(String ddMethod) 
	{
		this.ddMethod = ddMethod;
	}

	public String getDdMethod() 
	{
		return ddMethod;
	}
	public void setCmd(String cmd) 
	{
		this.cmd = cmd;
	}

	public String getCmd() 
	{
		return cmd;
	}
	public void setGroupBillName(String groupBillName) 
	{
		this.groupBillName = groupBillName;
	}

	public String getGroupBillName() 
	{
		return groupBillName;
	}
	public void setBizId(String bizId) 
	{
		this.bizId = bizId;
	}

	public String getBizId() 
	{
		return bizId;
	}
	public void setDdStatus(String ddStatus) 
	{
		this.ddStatus = ddStatus;
	}

	public String getDdStatus() 
	{
		return ddStatus;
	}

    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("ddId", getDdId())
            .append("channelId", getChannelId())
            .append("masterId", getMasterId())
            .append("slaveId", getSlaveId())
            .append("amount", getAmount())
            .append("mark", getMark())
            .append("payUrl", getPayUrl())
            .append("ddMethod", getDdMethod())
            .append("cmd", getCmd())
            .append("groupBillName", getGroupBillName())
            .append("bizId", getBizId())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .append("ddStatus", getDdStatus())
            .toString();
    }

	public String getAccount() {
		return account;
	}

	public void setAccount(String account) {
		this.account = account;
	}
}
